package cn.ligoo.dtu.domain;

import java.io.Serializable;

import ssm.core.domain.BaseDomain;

/**
 * @author Jin,QingHua
 * @version 2012-07-24 12:18:51
 */
public class BmuSlaveBatteryState extends BaseDomain<BmuSlaveBatteryState> implements Serializable {

	private static final long serialVersionUID = -1L;

	/**
	 * 
	 */
	private Integer id;

	/**
	 * 
	 */
	private Integer bmu_slave_id;

	/**
	 * 
	 */
	private Integer modem_id;

	/**
	 * 从机ID
	 */
	private Byte sid;

	/**
	 * 0-25
	 */
	private Byte battery_no;

	/**
	 * 1mv/bit 有效值0~5000mv 如果对应电压值不存在，则以65535（0xFFFF）表示
	 */
	private Integer battery_voltage;

	/**
	 * BIT.i=1表示均衡，BIT.i=0非均衡
	 */
	private Byte balance_state;

	public BmuSlaveBatteryState() {

	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getBmu_slave_id() {
		return bmu_slave_id;
	}

	public void setBmu_slave_id(Integer bmu_slave_id) {
		this.bmu_slave_id = bmu_slave_id;
	}

	public Integer getModem_id() {
		return modem_id;
	}

	public void setModem_id(Integer modem_id) {
		this.modem_id = modem_id;
	}

	public Byte getSid() {
		return sid;
	}

	public void setSid(Byte sid) {
		this.sid = sid;
	}

	public Byte getBattery_no() {
		return battery_no;
	}

	public void setBattery_no(Byte battery_no) {
		this.battery_no = battery_no;
	}

	public Integer getBattery_voltage() {
		return battery_voltage;
	}

	public void setBattery_voltage(Integer battery_voltage) {
		this.battery_voltage = battery_voltage;
	}

	public Byte getBalance_state() {
		return balance_state;
	}

	public void setBalance_state(Byte balance_state) {
		this.balance_state = balance_state;
	}
}